<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box1 {
            width:100px;
            height:100px;
            background-color: pink;
        }

        .box2 {
            width:100px;
            height:100px;
            background-color:powderblue;
        }
    </style>
</head>

<body>
    <div class="box1">
        <div class="box1-hd">
            标题box1
        </div>
        <div class="box1-bd" id="box1">
            内容box1
        </div>
        <div class="box1-fd">
            模块属
        </div>
        
    </div>

    <div class="box2">
        <div class="box2-hd">
            标题box2
        </div>
        <div class="box2-bd" id="box2">
            内容box2
        </div>
        <div class="box2-fd">
            模块属
        </div>
        
    </div>
    <script src="xxxx.js"></script>
    <script src="xxxx.js"></script>
    <script src="xxxx.js"></script>
    <script src="xxxx.js"></script>
    <script src="xxxx.js"></script>
    <script src="xxxx.js"></script>
    <script src="xxxx.js"></script>
    <script src="xxxx.js"></script>
    <script src="xxxx.js"></script>
    <script src="xxxx.js"></script>
    <script src="xxxx.js"></script>
    <script src="index.js"></script>

    <script src="js/sea.js"></script>
    <script>
        // seajs 的简单配置
        // seajs.config({
        //     base: "../sea-modules/",
        //     alias: {
        //         "jquery": "jquery/jquery/1.10.1/jquery.js"
        //     }
        // })

        // // 加载入口模块
        // seajs.use("../static/hello/src/main")

        seajs.use('/js/t1.js', function (T1) {
            var T = new T1();

            T.init();
        });
    </script>
</body>

</html>